package com.study.zouchao.superproject.myreceivedtask.model.entity;

import java.util.List;

/**
 *
 * {
 "data": [
 {
 “taskSponsorId’  : 20,
 “sponsorHeadimg” : “https://www.baidu.com/img/bd_logo1.png”,
 “sponsorNickName” : “zouchao”,
 “taskId” : 12,[关键字段 ]
 “sponsorTime” : “2017-06-10 20:06:25”,
 “reward” : “15元一小时”,
 “rewardPrice” : 10,
 “helpContent” : “下午石鼓路有一场宣讲会”,
 “taskStatus” : 1[demo上没有(可选)]
 },
 {
 “taskSponsorId’  : 20,
 “sponsorHeadimg” : “https://www.baidu.com/img/bd_logo1.png”,
 “sponsorNickName” : “zouchao”,
 “taskId” : 12,[关键字段 ]
 “sponsorTime” : “2017-06-10 20:06:25”,
 “reward” : “15元一小时”,
 “rewardPrice” : 10,
 “helpContent” : “下午石鼓路有一场宣讲会”,
 “taskStatus” : 1[demo上没有(可选)]
 },
 {
 “taskSponsorId’  : 20,
 “sponsorHeadimg” : “https://www.baidu.com/img/bd_logo1.png”,
 “sponsorNickName” : “zouchao”,
 “taskId” : 12,[关键字段 ]
 “sponsorTime” : “2017-06-10 20:06:25”,
 “reward” : “15元一小时”,
 “rewardPrice” : 10,
 “helpContent” : “下午石鼓路有一场宣讲会”,
 “taskStatus” : 1[demo上没有(可选)]
 }
 ],
 "currentPage": 1,
 "pageSize": 5,
 "message": "获取任务列表成功",
 "code": 21101
 }
 *
 *
 *
 *
 * Created by Administrator on 2017/6/20.
 */

public class MyReceivedTaskListResult {
    private List<TaskItemBean> data;
    private int currentPage;
    private int pageSize;
    private String message;
    private int code;
    private int pageNum;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public List<TaskItemBean> getData() {
        return data;
    }

    public void setData(List<TaskItemBean> data) {
        this.data = data;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "MyReceivedTaskListResult{" +
                "data=" + data +
                ", currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", message='" + message + '\'' +
                ", code=" + code +
                ", pageNum=" + pageNum +
                '}';
    }

    public static class TaskItemBean {
        private int taskSponsorId;
        private String sponsorHeadimg;
        private String sponsorNickName;
        private int taskId;
        private String sponsorTime;
        private String reward;
        private int rewardPrice;
        private String helpContent;
        private int taskStatus;

        private String taskTitle;

        public int getTaskSponsorId() {
            return taskSponsorId;
        }

        public void setTaskSponsorId(int taskSponsorId) {
            this.taskSponsorId = taskSponsorId;
        }

        public String getSponsorHeadimg() {
            return sponsorHeadimg;
        }

        public void setSponsorHeadimg(String sponsorHeadimg) {
            this.sponsorHeadimg = sponsorHeadimg;
        }

        public String getSponsorNickName() {
            return sponsorNickName;
        }

        public void setSponsorNickName(String sponsorNickName) {
            this.sponsorNickName = sponsorNickName;
        }

        public int getTaskId() {
            return taskId;
        }

        public void setTaskId(int taskId) {
            this.taskId = taskId;
        }

        public String getSponsorTime() {
            return sponsorTime;
        }

        public void setSponsorTime(String sponsorTime) {
            this.sponsorTime = sponsorTime;
        }

        public String getReward() {
            return reward;
        }

        public void setReward(String reward) {
            this.reward = reward;
        }

        public int getRewardPrice() {
            return rewardPrice;
        }

        public void setRewardPrice(int rewardPrice) {
            this.rewardPrice = rewardPrice;
        }

        public String getHelpContent() {
            return helpContent;
        }

        public void setHelpContent(String helpContent) {
            this.helpContent = helpContent;
        }

        public int getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(int taskStatus) {
            this.taskStatus = taskStatus;
        }

        public String getTaskTitle() {
            return taskTitle;
        }

        public void setTaskTitle(String taskTitle) {
            this.taskTitle = taskTitle;
        }

        @Override
        public String toString() {
            return "TaskItemBean{" +
                    "taskSponsorId=" + taskSponsorId +
                    ", sponsorHeadimg='" + sponsorHeadimg + '\'' +
                    ", sponsorNickName='" + sponsorNickName + '\'' +
                    ", taskId=" + taskId +
                    ", sponsorTime='" + sponsorTime + '\'' +
                    ", reward='" + reward + '\'' +
                    ", rewardPrice=" + rewardPrice +
                    ", helpContent='" + helpContent + '\'' +
                    ", taskStatus=" + taskStatus +
                    ", taskTitle='" + taskTitle + '\'' +
                    '}';
        }
    }

}
